<?php
	include("includes/secure.php");
	include("includes/config.php");
	include("includes/class/afp.class.php");

	$afp = new Afp(); 
	$afp_code	= $_POST['afp_code'];

	if($afp->deleteAfp($afp_code))
	{
		echo 1;
	}
	else
		echo 0;

?>